﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;

namespace WaveMaster.Holidays.Club.Domain
{
    public class user_history
    {
        public long id;
        public long user_id;
        public DateTime start_date;
        public DateTime end_date;
        public string session_code;
        public string remarks;
        public user_history() { }
        public user_history(MySqlDataReader rd)
        {
            id = Convert.ToInt64(rd["id"]);
            user_id = Convert.ToInt64(rd["user_id"]);
            session_code = rd["session_code"].ToString();
            start_date = Convert.ToDateTime(rd["start_date"]);
            end_date = Convert.ToDateTime(rd["end_date"]);
            remarks = rd["remarks"].ToString();
        }


    }
}
